home *** CD-ROM | disk | FTP | other *** search
/ Computer Shopper 235 / Issue 235 - September 2007 - DPCS0907DVD.ISO / Extras / NetObjects Fusion / NOF10.exe / data1.cab / FSI / lib / nof / publish / Alias.js < prev    next >
Encoding:
Text File  |  2007-04-11  |  1.3 KB  |  72 lines

  1. /****i* SOURCE_FILE/INFO
  2. *
  3. * NAME
  4. *    Alias.js
  5. *
  6. * USAGE
  7. *    Part of WPS JavaScript Library.
  8. *
  9. * COPYRIGHT
  10. *    Copyright ⌐ 2000-2001 Website Pros, Inc.
  11. *    All Rights Reserved.
  12. *
  13. *  This is an unpublished work protected by Website Pros, Inc.
  14. *  as a trade secret, and is not to be used or disclosed except as
  15. *  expressly provided in a written license agreement executed by
  16. *  you and Website Pros, Inc.
  17. *
  18. *      <copyright@websitepros.com>
  19. *
  20. * NOTES
  21. *    JavaScript code.
  22. *
  23. *****/
  24. if (!IS.isModuleInitialized("IS.NOF.PUBLISH.Alias"))
  25.     /** 
  26.     * Class Alias
  27.     **/
  28.     function NOF_Alias( /*String*/ url,  /*String*/ path) {
  29.         this.__proto__ = NOF_Alias.prototype;
  30.         
  31.         this.aliasURL = url;
  32.         this.aliasPath = path;
  33.         
  34.         return this;
  35.     }
  36.     {      
  37.         var members = NOF_Alias.prototype;
  38.         members.CLASS_NAME = "Alias";
  39.         
  40.         var methods = NOF_Alias.prototype;
  41.         
  42.         /**
  43.         * getURL.
  44.         **/
  45.         methods.getURL = function () {
  46.             return this.aliasURL;
  47.         }
  48.         /**
  49.         * setURL.
  50.         **/
  51.         methods.setURL = function (url) {
  52.             this.aliasURL = url;
  53.         }
  54.  
  55.         /**
  56.         * getPath
  57.         **/
  58.         methods.getPath = function () {
  59.             return this.aliasPath;
  60.         }
  61.         /**
  62.         * setPath.
  63.         **/
  64.         methods.setPath = function (path) {
  65.             this.aliasPath = path;
  66.         }
  67.  
  68.     }    
  69.     
  70.     NOF.PUBLISH.__proto__.Alias = NOF_Alias;
  71. }